/**
 * 项目名称（软件名称）：忠旺机械物资管理系统(mms)
 * 研发设计单位：忠旺机械设备制造有限公司机械设计院智能控制设计科设计与研发。
 * 版权所有：忠旺机械设备制造有限公司
 * 注：本项目的一切技术专利，使用规范归解释权由忠旺机械设备制造有限公司所有。
 * 软件版本：Ver 1.0.0
 * 文件路径：com.zhongwang.mms.module.purchase.model
 * 创建时间：2020年03月16日 14时22分
 **/
package com.zhongwang.mms.module.purchase.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName： PInModel
 * @Description： 上传Excel时使用的模型类
 * @Author： 徐一贺
 * @Date： 2020/3/16 14:22
 * @Version： V1.0
 **/
@Data
@ContentRowHeight(15)
@HeadRowHeight(15)
public class PInErrorModel implements Serializable {




    /**
     * @Description: 数量
     */
    @ExcelProperty(index = 0)
    private Double num;

    /**
     * @Description: 单位
     */
    @ExcelProperty(index = 1)
    private String unit;

    /**
     * @Description: 金额
     */
    @ExcelProperty(index = 2)
    private Double amount;

    /**
     * @Description: 单价
     */
    @ExcelProperty(index = 3)
    private Double price;

    /**
     * @Description: 计划跟踪号
     */
    @ExcelProperty(index = 4)
    private String planTrackingCode;

    /**
     * @Description: 项目文本，项目名称
     */
    @ExcelProperty(index = 5)
    private String proName;

    /**
     * @Description: 使用周期
     */
    @ExcelProperty(index = 6)
    private String proCode;

    /**
     * @Description: 库存地
     */
    @ExcelProperty(index = 7)
    private String odaWhi;

    /**
     * @Description: 仓位
     */
    @ExcelProperty(index = 8)
    private String odaPosition;

    /**
     * @Description: 记账日期
     */
    @ExcelProperty(index = 9)
    private String odaBackDate;
    /**
     * @Description: 特殊说明
     */
    @ExcelProperty(index = 10)
    private String specialInstructions;


    /**
     * @Description: 依赖主表主键
     */
    @ExcelIgnore
    private Integer odaOdrId;

    /**
     * @Description: 1是正常入库, 2是预入库, 3是领料
     */
    @ExcelIgnore
    private Integer odaType;

    /**
     * @Description: 记录出入库后再库存表的位置
     */
    @ExcelIgnore
    private Integer odaItyId;

    /**
     * @Description: 错误原因
     */
    @ExcelIgnore
    private String errorReason;
    /**
     * @Description: 正确格式示范
     */
    @ExcelIgnore
    private String correctFormatDemonstration;

    public PInErrorModel(){

    }

    public PInErrorModel(Double num, String unit, Double amount, Double price, String planTrackingCode, String proName, String proCode, String odaWhi, String odaPosition, String odaBackDate, String specialInstructions, Integer odaOdrId, Integer odaType, Integer odaItyId, String errorReason, String correctFormatDemonstration) {
        this.num = num;
        this.unit = unit;
        this.amount = amount;
        this.price = price;
        this.planTrackingCode = planTrackingCode;
        this.proName = proName;
        this.proCode = proCode;
        this.odaWhi = odaWhi;
        this.odaPosition = odaPosition;
        this.odaBackDate = odaBackDate;
        this.specialInstructions = specialInstructions;
        this.odaOdrId = odaOdrId;
        this.odaType = odaType;
        this.odaItyId = odaItyId;
        this.errorReason = errorReason;
        this.correctFormatDemonstration = correctFormatDemonstration;
    }

    public Double getNum() {
        return num;
    }

    public void setNum(Double num) {
        this.num = num;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getPlanTrackingCode() {
        return planTrackingCode;
    }

    public void setPlanTrackingCode(String planTrackingCode) {
        this.planTrackingCode = planTrackingCode;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public String getOdaWhi() {
        return odaWhi;
    }

    public void setOdaWhi(String odaWhi) {
        this.odaWhi = odaWhi;
    }

    public String getOdaPosition() {
        return odaPosition;
    }

    public void setOdaPosition(String odaPosition) {
        this.odaPosition = odaPosition;
    }

    public String getOdaBackDate() {
        return odaBackDate;
    }

    public void setOdaBackDate(String odaBackDate) {
        this.odaBackDate = odaBackDate;
    }

    public String getSpecialInstructions() {
        return specialInstructions;
    }

    public void setSpecialInstructions(String specialInstructions) {
        this.specialInstructions = specialInstructions;
    }

    public Integer getOdaOdrId() {
        return odaOdrId;
    }

    public void setOdaOdrId(Integer odaOdrId) {
        this.odaOdrId = odaOdrId;
    }

    public Integer getOdaType() {
        return odaType;
    }

    public void setOdaType(Integer odaType) {
        this.odaType = odaType;
    }

    public Integer getOdaItyId() {
        return odaItyId;
    }

    public void setOdaItyId(Integer odaItyId) {
        this.odaItyId = odaItyId;
    }

    public String getErrorReason() {
        return errorReason;
    }

    public void setErrorReason(String errorReason) {
        this.errorReason = errorReason;
    }

    public String getCorrectFormatDemonstration() {
        return correctFormatDemonstration;
    }

    public void setCorrectFormatDemonstration(String correctFormatDemonstration) {
        this.correctFormatDemonstration = correctFormatDemonstration;
    }
}